package org.example.springioc.service;

import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Service;

@Service
public class UsreService {
     //这个注解是将方法交给Spring管理
    public void print() {
        System.out.println("do service");
    }
}
